package com.wwl.cms.utils.designModeTest.bridge;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/6 18:26
 * @description:
 */
public abstract class Phone {
    //组合品牌
    private Brand brand;

    public Phone(Brand brand){
        super();
        this.brand= brand;
    }

    protected void open(){
        this.brand.open();
    }
    protected void close(){
        this.brand.close();
    }
    protected void call(){
        this.brand.call();
    }
}
